package io.ouka.rule.domain;

import java.util.Map;

/**
 * Description:
 * User: Ouka
 * Date: 2020-06-08
 * Time: 19:31
 */
public class RuleTree {
    private RootTreeNode rootTreeNode;
    private Map<Long,TreeNode> treeNodeMap;

    public RuleTree(RootTreeNode rootTreeNode, Map<Long, TreeNode> treeNodeMap) {
        this.rootTreeNode = rootTreeNode;
        this.treeNodeMap = treeNodeMap;
    }

    public RootTreeNode getRootTreeNode() {
        return rootTreeNode;
    }

    public void setRootTreeNode(RootTreeNode rootTreeNode) {
        this.rootTreeNode = rootTreeNode;
    }

    public Map<Long, TreeNode> getTreeNodeMap() {
        return treeNodeMap;
    }

    public void setTreeNodeMap(Map<Long, TreeNode> treeNodeMap) {
        this.treeNodeMap = treeNodeMap;
    }
}
